package com.person.leetcode.editor.cn;

/**
  * 1108.IP 地址无效化
  * 2022-06-21 09:23:29
**/
public class Sequence_1108_DefangingAnIpAddress {
    public static void main(String[] args) {
        Solution solution = new Sequence_1108_DefangingAnIpAddress().new Solution();
    }
    //leetcode submit region begin(Prohibit modification and deletion)
class Solution {
    public String defangIPaddr(String address) {
        return address.replace(".","[.]");
    }
}
//leetcode submit region end(Prohibit modification and deletion)

}